package com.wwl.cms.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.wwl.cms.basic.PagedInput;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/2/18 16:06
 * @description:
 */
@Data
public class UserDto extends PagedInput {

    @ExcelProperty(value = "姓名",index=0)
    private String name;
    @ExcelProperty(value = "年龄",index=1)
    private Integer age;
    private String sex;
    @ExcelProperty(value = "地址",index=2)
    private String address;
    @ExcelIgnore
    private String pwd;

    @Override
    public String toString() {
        return "UserDto{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                '}';
    }
}
